package wht.jly.forum.utils.validatecode.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * 验证码校验异常
 * <p>
 * 继承 Spring Security 提供的 AuthenticationException 异常（所有认证异常的基类）
 *
 * @author lanyangji
 * @date 2019/3/2 17:36
 */
public class ImageValidateCodeException extends AuthenticationException {

    /**
     * 传入错误消息
     *
     * @param msg
     */
    public ImageValidateCodeException(String msg) {
        super(msg);
    }

}
